package com.wx.md.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wx.md.dao.SysRolePermissionDao;
import com.wx.md.tb.SysRolePermission;
import com.wx.md.service.SysRolePermissionService;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.Collection;

/**
 * 角色权限表(SysRolePermission)表服务实现类
 *
 * @author wx
 * @since 2021-06-09 14:12:48
 */
@Service("sysRolePermissionService")
public class SysRolePermissionServiceImpl extends ServiceImpl<SysRolePermissionDao, SysRolePermission> implements SysRolePermissionService {

    @Override
    public boolean save(SysRolePermission entity) {
        return super.save(entity);
    }

    @Override
    public boolean updateById(SysRolePermission entity) {
        return super.updateById(entity);
    }

    @Override
    public SysRolePermission getById(Serializable id) {
        return super.getById(id);
    }

    @Override
    public boolean removeByIds(Collection<? extends Serializable> idList) {
        return super.removeByIds(idList);
    }

    @Override
    public IPage<SysRolePermission> page(IPage<SysRolePermission> page, Wrapper<SysRolePermission> queryWrapper) {
        return super.page(page, queryWrapper);
    }
}
